<template v-for="child in item.children" :key="'menuitem' + child.name">
    <MenuItem :name="child.name">
        <Icon :type="child.icon" :size="iconSize" :key="'icon' + child.name"></Icon>
        <span class="layout-text" :key="'title' + child.name">{{ itemTitle(child) }}</span>
    </MenuItem>
</template> 